﻿package mortal.game.view.copy.expCopy
{
    import com.mui.utils.*;
    import extend.language.*;
    import mortal.component.window.*;
    import mortal.game.manager.*;
    import mortal.game.view.copy.groupCopy.view.*;

    public class ExpCopyModule extends BaseWindow
    {
        private var _tabData:Array;
        private var _currentPanel:GroupCopyBasePanel;

        public function ExpCopyModule()
        {
            this._tabData = new Array();
            this.layer = LayerManager.windowLayer3D;
            setSize(870, 545);
            title = Language.getString(35218);
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._currentPanel = UICompomentPool.getUICompoment(ExpCopyEnterWin, this);
            this.addChild(this._currentPanel);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            this._tabData.length = 0;
            if (this._currentPanel)
            {
                this._currentPanel.dispose(param1);
                this._currentPanel = null;
            }
            super.disposeImpl(param1);
            return;
        }// end function

    }
}
